package org.example.minebackend.pojo;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Invitation {
    private int id;
//    private String writer;
    private int writerId;
    private String title;
    private String content;
    private String kind;
    @JsonProperty("nOfCollections")
    private int nOfCollections;
    private LocalDateTime createTime;
}
